package com.stiff.web.thread;

import com.stiff.web.bean.User;

public class UserThreadLocal {
    public static final ThreadLocal<User> LOCAL = new ThreadLocal<>();
    public static void set(User user){
        LOCAL.set(user);
    }
    public static User get(){
        return LOCAL.get();
    }
}
